package org.longteng.monitor.dao.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 应用心跳状态记录表
 */
@TableName(value="app_heartbeat_log")
public class AppHeartbeatLog implements Serializable {
    /**
     * 唯一id
     */
    @TableId(value="log_id",type= IdType.AUTO)
    private Long logId;

    /**
     * 记录时间
     */
    private Date logDate;

    /**
     * 租户范围
     */
    private String appScope;

    /**
     * 应用名
     */
    private String appName;
    /**
     * 应用所在机器
     */
    private String appHost;

    /**
     * 运行状态
     */
    private String runStatus;

    /**更新时间*/
    private Date updateDate;

    public Long getLogId() {
        return logId;
    }

    public void setLogId(Long logId) {
        this.logId = logId;
    }

    public Date getLogDate() {
        return logDate;
    }

    public void setLogDate(Date logDate) {
        this.logDate = logDate;
    }

    public String getAppScope() {
        return appScope;
    }

    public void setAppScope(String appScope) {
        this.appScope = appScope;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getAppHost() {
        return appHost;
    }

    public void setAppHost(String appHost) {
        this.appHost = appHost;
    }

    public String getRunStatus() {
        return runStatus;
    }

    public void setRunStatus(String runStatus) {
        this.runStatus = runStatus;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}
